package ma.platform.server.student.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ma.platform.server.student.dto.SchoolStaticesDto;
import ma.platform.server.student.dto.TbDateComboDto;
import ma.platform.server.student.entity.TbStudentCombo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import ma.platform.server.student.req.QueryHistoryResrveReq;
import ma.platform.server.student.req.QueryStudentComboReq;
import ma.platform.server.student.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【tb_student_combo(学生套餐预约表)】的数据库操作Mapper
* @createDate 2024-08-27 17:01:05
* @Entity ma.platform.server.student.entity.TbStudentCombo
*/
public interface TbStudentComboMapper extends BaseMapper<TbStudentCombo> {

    List<TbDateComboDto> selectHistoryResrve(@Param("req") QueryHistoryResrveReq req);

    Page<TbDateComboDto> selectStudentComboPage(@Param("page") Page page, @Param("req") QueryStudentComboReq req);

    Page<SchoolStaticesDto> schoolStatices(@Param("page") Page page,@Param("req") QueryStudentComboReq req);


    Page<SchoolStaticesDto> schoolDishStatices(@Param("page")Page page, @Param("req")QueryStudentComboReq req);

    Page<SchoolStaticesDto> gradeStatices(@Param("page")Page page, @Param("req")QueryStudentComboReq req);

    Page<SchoolStaticesDto> gradeDishStatices(@Param("page")Page page, @Param("req")QueryStudentComboReq req);

    Page<SchoolStaticesDto> classesStatices(@Param("page")Page page, @Param("req")QueryStudentComboReq req);

    Page<SchoolStaticesDto> classesDishStatices(@Param("page")Page page, @Param("req")QueryStudentComboReq req);


    List<SchoolExportVo> schoolStaticesExport(@Param("req")QueryStudentComboReq req);

    List<SchoolDishExportVo> schoolDishStaticesExport(@Param("req")QueryStudentComboReq req);


    List<GradeExportVo> gradeStaticesExport(@Param("req")QueryStudentComboReq req);

    List<GradeDishExportVo> gradeDishStaticesExport(@Param("req")QueryStudentComboReq req);

    List<ClassesExportVo> classesStaticesExport(@Param("req")QueryStudentComboReq req);

    List<ClassesDishExportVo> classesDishStaticesExport(@Param("req")QueryStudentComboReq req);

}




